<?php
    $menus = $this->requestAction('contents/mainmenu');
?>
<ul id="nav">
<?php foreach($menus as $menu):?>
    <li><?php echo $this->html->link($menu['Content']['menu'],array('controller'=>'Contents','action'=>'index',$menu['Content']['id']));    ?></li>
<?php endforeach;?>
</ul>
